<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>v-pre</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <!--含v-pre这条语句不进行编译 -->
        <span v-pre>{{message}}</span>
        <span>{{message}}</span>
    </div>    
</body>
<script>
// v-pre主要用来跳过这个元素和它的子元素编译过程。可以用来显示原始的Mustache标签。跳过大量没有指令的节点加快编译。
    new Vue({
        el:'#app',
        data:{
            message:"你好"
        }
    })
</script>
</html>